<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.io.stream.BufferStream</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.io.stream.BufferStream";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.io.stream.BufferStream.html" class="symbol">tango.io.stream.BufferStream</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: Oct 2007
<p class="sec_header">Author:</p>Kris
<dl>
<dt class="decl">class <a class="symbol _class" name="BufferInput" href="./htmlsrc/tango.io.stream.BufferStream.html#L28" kind="class" beg="28" end="41">BufferInput</a> : Buffer; <a title="Permalink to this symbol" href="#BufferInput" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.BufferStream.html#L28">#</a></dt>
<dd class="ddef">
<div class="summary">Buffers the flow of data from a upstream input. A downstream 
        neighbour can locate and use this buffer instead of creating 
        another instance of their own.</div>
(note that upstream is closer to the source, and downstream is
        further away)
<dl>
<dt class="decl"><a class="symbol _ctor" name="BufferInput.this" href="./htmlsrc/tango.io.stream.BufferStream.html#L36" kind="ctor" beg="36" end="40">this</a><span class="params">(InputStream <em>stream</em>, uint <em>size</em> = 16 * 1024)</span>; <a title="Permalink to this symbol" href="#BufferInput.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.BufferStream.html#L36">#</a></dt>
<dd class="ddef">
<div class="summary">Propagate ctor to superclass</div></dd></dl></dd>
<dt class="decl">class <a class="symbol _class" name="BufferOutput" href="./htmlsrc/tango.io.stream.BufferStream.html#L57" kind="class" beg="57" end="70">BufferOutput</a> : Buffer; <a title="Permalink to this symbol" href="#BufferOutput" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.BufferStream.html#L57">#</a></dt>
<dd class="ddef">
<div class="summary">Buffers the flow of data from a upstream output. A downstream 
        neighbour can locate and use this buffer instead of creating 
        another instance of their own.</div>
(note that upstream is closer to the source, and downstream is
        further away)
<p class="bl"/>
        Don't forget to flush() buffered content before closing.
<dl>
<dt class="decl"><a class="symbol _ctor" name="BufferOutput.this" href="./htmlsrc/tango.io.stream.BufferStream.html#L65" kind="ctor" beg="65" end="69">this</a><span class="params">(OutputStream <em>stream</em>, uint <em>size</em> = 16 * 1024)</span>; <a title="Permalink to this symbol" href="#BufferOutput.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.stream.BufferStream.html#L65">#</a></dt>
<dd class="ddef">
<div class="summary">Propagate ctor to superclass</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2007 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:01 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>